package com.zzy.librarytest.entity;

public class Book {
    private Integer id;
    private String bookname;
    private String author;
    private String press;
    private double price;

    public Book() {
    }

    public Book(Integer id, String bookname, String author, String press, double price) {
        this.id = id;
        this.bookname = bookname;
        this.author = author;
        this.press = press;
        this.price = price;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getPress() {
        return press;
    }

    public void setPress(String press) {
        this.press = press;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
}
